<span class="switch" ng-class="{checked: toggleValue}">
  <input type="checkbox" ng-model="toggleValue">
  <small></small>
</span>
